package jp.eisbahn.mgapi.http;

import java.util.List;
import java.util.Map;

public class HttpResponse {

    private int responseCode;
    private String responseMessage;
    private String responseBody;
    private Map<String, List<String>> headerMap;
    
    public HttpResponse(int responseCode, String responseMessage,
            String responseBody, Map<String, List<String>> headerMap) {
        super();
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
        this.responseBody = responseBody;
        this.headerMap = headerMap;
    }

    public int getResponseCode() {
        return responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public String getResponseBody() {
        return responseBody;
    }
    
    public Map<String, List<String>> getHeaderMap() {
        return headerMap;
    }

    @Override
    public String toString() {
        return "HttpResponse [responseCode=" + responseCode
                + ", responseMessage=" + responseMessage + ", responseBody="
                + responseBody + ", headerMap=" + headerMap + "]";
    }
    
}
